/**
 * 
 */
package tests.client.view;

import tests.client.resources.GlobalResources;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.ScrollPanel;

/**
 * @author Thien
 *
 */
public class MainPanel extends Composite {
	public MainPanel() {
		
		FlexTable flexTable = new FlexTable();
		
		// content
		flexTable.setText(0, 0, "Latest Activity");		
		ScrollPanel scrollPanel = new ScrollPanel();
		flexTable.setWidget(1, 0, scrollPanel);
		
		// styles
		flexTable.getCellFormatter().addStyleName(0, 0, GlobalResources.INSTANCE.globalStyles().titleBar());
		
		initWidget(flexTable);
	}

}
